﻿var rightMiniWidth = document.documentElement.clientWidth - 10 - document.documentElement.clientWidth * 0.15 + "px";
var rightMaxWidth = document.documentElement.clientWidth - 10 + "px";
var leftWidth = document.documentElement.clientWidth * 0.15 + "px";
var pageHeight = document.documentElement.clientHeight + "px";
function isShow() {
    var ifrLeft = document.getElementById("ifrLeft");
    if (ifrLeft.style.display == "") {
        ifrLeft.style.display = "none";
        document.getElementById("ifrRight").style.width = "99%";
        document.getElementById("imgclose").src="pics/fOpen.gif";
    }
    else {
        ifrLeft.style.display = "";
        document.getElementById("ifrRight").style.width = "84%";
        document.getElementById("imgclose").src="pics/fclose.gif";
    }
}

function setHeight(eleID) {
    var ele = document.getElementById(eleID);
    if (ele != null) {
        ele.style.height = screen.height - 63 + "px";
    }
}

function SetMainPage() {
    var divMiddle = document.getElementById("divMiddle");
    divMiddle.style.height = document.documentElement.clientHeight + "px";
    var ifrRight = document.getElementById("ifrRight");
    //ifrRight.style.width = rightMiniWidth;
    ifrRight.style.height = pageHeight;
    var ifrLeft = document.getElementById("ifrLeft");
    //ifrLeft.style.width = leftWidth;
    ifrLeft.style.height = pageHeight;
}